import {request} from '@/utils/request'

// 根据园区id list查询组态
export function farmIdList(body) {
    return request({
        baseURL:process.env.VUE_APP_API_BASE_URL_OTHER,
        data: body,
        url: `/yesiot/largeScreenConfiguration/farmId`,
        method: 'post'
    })
}

// 保存大屏配置信息
export function farmSave(body) {
    return request({
        baseURL:process.env.VUE_APP_API_BASE_URL_OTHER,
        data: body,
        url: `/yesiot/largeScreenConfiguration/save`,
        method: 'post'
    })
}

// 删除大屏
export function delFarm(id) {
    return request({
        baseURL:process.env.VUE_APP_API_BASE_URL_OTHER,
        url: `/yesiot/largeScreenConfiguration/${id}`,
        method: 'delete'
    })
}
